//
//  Cep.h
//  YouthOlympic2014
//
//  Created by Li Yuhang on 14-7-1.
//  Copyright (c) 2014年 mitian. All rights reserved.
//

#import "BaseModel.h"

@interface Cep : BaseModel
@property (nonatomic, copy) NSString* id;
@property (nonatomic, copy) NSString* title;
@property (nonatomic, copy) NSString* content;
@property (nonatomic, strong) NSArray* events;
@property (nonatomic) NSInteger* index;

@property (nonatomic, copy) NSString* place;

- (UIImage*) icon;
- (UIImage*) image;
- (NSArray* /*UIImage*/) detailImages;

- (NSString*) displaytime;

//use in html hybrid page
- (NSString*) iconPath;
- (NSArray*) detailImagePaths;

+(NSArray*/*Cep*/) instanceList: (NSDictionary*) jsonObj;

+(Cep* ) instance:(NSDictionary*) jsonObj;

@end
